﻿@model ESN.Models.Exercise

@{
    ViewBag.Title = "Test Info";
}

<h2>@Model.ExName</h2>
<table border="1">
    <thead>
        <tr>
            <th>@ESN.Languages.LangString.Load("filter_num_quest", "Quiz")</th>
            <th>@ESN.Languages.LangString.Load("filter_time", "Quiz")</th>
            <th>@ESN.Languages.LangString.Load("filter_num_shot", "Quiz")</th>
            <th>@ESN.Languages.LangString.Load("filter_done", "Quiz")</th>
            <th>@ESN.Languages.LangString.Load("filter_avg_point", "Quiz")</th>
            <th>@ESN.Languages.LangString.Load("filter_avg_time", "Quiz")</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>@Model.ExNumQues</td>
            <td>@Model.ExTime</td>
            <td>@Model.ExShot</td>
            <td>@Model.ExDone</td>
            <td>@Model.ExAveragePoint</td>
            <td>@Model.ExAverageTime</td>
        </tr>
    </tbody>
</table>
<div>
    <div>@ESN.Languages.LangString.Load("by", "Quiz") @Membership.GetUser(Model.UserId).UserName</div>
    <div>@ESN.Languages.LangString.Load("at", "Quiz") @Model.ExCreateTime</div>
    <div>@ESN.Languages.LangString.Load("cat", "Quiz") @Model.Categories.CatName</div>
</div>

<div style="text-align:center;"><h1><a href="/Quiz/Test/@Model.ExId">@ESN.Languages.LangString.Load("begin", "Quiz")</a></h1></div>
